package com.gilgamesh.mall.sdk.dto.product;

import com.gilgamesh.mall.sdk.bean.product.ClassficEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;

/**
 * 分类dto
 *
 * @author yanm
 * @date 2021/1/11 13:39
 **/
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode
@ToString
@Data
public class ClassficDTO extends ClassficEntity {

    /**
     * 子分类
     **/
    private List<ClassficDTO> childern;

    /**
    * 分页字段
    **/
    private Integer pageSize;

    private Integer pageNum;
}
